package com.pipayshop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pipayshop.entity.TradinOrder;
import com.pipayshop.entity.vo.TradinOrderDetailVO;
import com.pipayshop.entity.vo.TradinOrderListVO;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wzx
 * @since 2023-09-19
 */
public interface TradinOrderMapper extends BaseMapper<TradinOrder> {

    List<TradinOrderListVO> selectTradinyOrderByUid(@Param("userId") String userId, @Param("page") Integer page, @Param("limit") Integer limit);

    TradinOrderDetailVO selectTradinOrderDetail(String orderId);
}
